In this patch, the xc_domain_dumpcore_via_callback() in xc_core.c of
authorroot@procyon <root@procyon>
Thu, 14 Sep 2006 07:19:41 +0000 (08:19 +0100)
committerroot@procyon <root@procyon>
Thu, 14 Sep 2006 07:19:41 +0000 (08:19 +0100)
commitc3c52fdfa0bf277dee71f7902a052c4430cc74ce
tree4288967386301ce0c8c9af6f898e3ec7d6e5ea9c
parent805b7b3995bcb952b8662b5328d5bb0066676194
In this patch, the xc_domain_dumpcore_via_callback() in xc_core.c of
libxc is modified. Previously, the xc_domain_dumpcore_via_callback()
did not respond to error when copy_from_domain_page() failed.
In other words, the dump core remained silent even if mapping the domain
memory failed and its page could not be copied. When this happened,
erroneous data had been dumped to the file without the user realizing it.
Now, it has been modified so that if copy_from_domain_page fails,
this fact is recorded in the logfile and make imcoplerte-list.
However even in such cases, the dumping will continue as before.

Signed-off-by: Ken Hironaka <hironaka.ken@soft.fujitsu.com>
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
tools/libxc/xc_core.c
tools/libxc/xenctrl.h